From: Philipp Stephani Date: Mon, 22 Apr 2019 16:58:51 +0000 (+0200) Subject: * src/lisp.h (INTEGER_TO_INT): Fix bug. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~3525 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=981470e3590534a4d2947dfe5626cae832c6502d;p=emacs.git * src/lisp.h (INTEGER_TO_INT): Fix bug. --- diff --git a/src/lisp.h b/src/lisp.h index 8510ad72564..ee5a8481ae8 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -2645,7 +2645,7 @@ make_uint (uintmax_t n) #define INTEGER_TO_INT(num, type) \ (TYPE_SIGNED (type) \ ? ranged_integer_to_int ((num), TYPE_MINIMUM (type), TYPE_MAXIMUM (type)) \ - : ranged_integer_to_uint ((num), TYPE_MINIMUM (type))) + : ranged_integer_to_uint ((num), TYPE_MAXIMUM (type))) /* Forwarding pointer to an int variable.